using SqlSugar;

namespace xf.Entitys
{
    /// <summary>
    /// 收集主文件客户的订单详细信息
    /// </summary>
    public class M_ORDER
    {
        /// <summary>
        /// 收集主文件客户的订单详细信息
        /// </summary>
        public M_ORDER()
        {
        }

        private System.String _Cus_id;
        /// <summary>
        /// 客户编码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String Cus_id { get { return this._Cus_id; } set { this._Cus_id = value?.Trim(); } }

        private System.String _Goods_id;
        /// <summary>
        /// 产品编码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String Goods_id { get { return this._Goods_id; } set { this._Goods_id = value?.Trim(); } }

        private System.DateTime _Doc_date;
        /// <summary>
        /// 订购日期
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.DateTime Doc_date { get { return this._Doc_date; } set { this._Doc_date = value; } }

        private System.DateTime _Ord_date;
        /// <summary>
        /// 计划发货日期
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.DateTime Ord_date { get { return this._Ord_date; } set { this._Ord_date = value; } }

        private System.DateTime _Fin_date;
        /// <summary>
        /// 实际发货日期
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.DateTime Fin_date { get { return this._Fin_date; } set { this._Fin_date = value; } }

        private System.DateTime _Sys_date;
        /// <summary>
        /// 修订日期
        /// </summary>
        public System.DateTime Sys_date { get { return this._Sys_date; } set { this._Sys_date = value; } }

        private System.Decimal _Amount;
        /// <summary>
        /// 订购数量
        /// </summary>
        public System.Decimal Amount { get { return this._Amount; } set { this._Amount = value; } }

        private System.Decimal _cost_tot;
        /// <summary>
        /// 总价
        /// </summary>
        public System.Decimal cost_tot { get { return this._cost_tot; } set { this._cost_tot = value; } }
    }
}